BitCode\BI\Triggers\WC\WCController D

Total Complexity 245
Dependencies 5
Dependents 0
Total lines 1,813
Lines of code 1,638
Logical lines of code 514
Comment lines 23
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
fields()
D
9
23 775
accessSubscription()
C
34 27 85
handle_order_create()
B
38 20 65
handle_subscription_status_change()
B
43 18 44
get_trigger_field()
A
40 14 59
handle_product_action()
A
48 15 29
handle_order_status_change()
A
46 12 37
handle_order_update()
A
47 12 33
handle_subscription_trial_period_end()
A
49 10 30
handle_subscription_create()
A
49 10 29
handle_subscription_expired()
A
49 10 29
handle_subscription_cancel()
A
49 10 29
accessOrderData()
A
35 6 87
metaboxFields()
A
46 7 39
handle_customer_update()
S
55 7 17
accessProductData()
S
41 4 56
handle_customer_create()
S
60 5 11
handle_customer_delete()
S
61 5 11
handle_booking_create()
S
56 4 16
handle_order_delete()
S
62 4 10
getAll()
S
57 3 14
getAllSubscriptions()
S
52 2 27
getWooCommerceProduct()
S
57 2 17
getUserInfo()
S
58 2 16
product_update()
S
67 3 7
product_create()
S
67 3 7
info()
S
53 1 23
formatUserMetaData()
S
68 2 7
getProductCategories()
S
61 1 12
getOrderStatus()
S
76 1 4
getSubscriptionProduct()
S
76 1 4
getSubscriptionStatus()
S
65 1 9